<html><head><title>CloseConsole</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">CloseConsole()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#006666"><b>CloseConsole</b></font>()</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Close the console previously opened with <a href="openconsole.html">OpenConsole()</a>. Once the console has been closed, it's 
not possible to use any console-related functions unless you open the console again. The 
console will automatically be closed when your program ends. 

</blockquote><p><b>Parameters</b></p><blockquote>
None.

</blockquote><p><b>Return value</b></p><blockquote>
None.


</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#006666">For</font></b> i = 0 <b><font color="#006666">To</font></b> 4
    <b><font color="#006666">If</font></b> <font color="#006666">OpenConsole</font>()
<font color="#006666">      PrintN</font>("This is console #"+<font color="#006666">Str</font>(i))
<font color="#006666">      PrintN</font>("Press return to close console")
<font color="#006666">      Input</font>()
<font color="#006666">      CloseConsole</font>()
    <b><font color="#006666">EndIf</font></b>
  <b><font color="#006666">Next</font></b>
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="openconsole.html">OpenConsole()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=clearconsole.html>ClearConsole()</a> - <a href=index.html>Console Index</a> - <a href=consolecolor.html>ConsoleColor()</a> ->

</body></html>